package com.zc.datastructure.structure.graph;

import lombok.Data;

/**
 * @author: zhuCan
 * @date: 2020/6/27 10:48
 * @description:
 */
@Data
public class Vertex<R> {

  // 顶点的存储标号
  private String vertexData;
  // 初始边
  private Edge<R> firstEdge;
  // 是否访问过
  private Boolean visited;

  public Vertex(String s) {
    vertexData = s;
  }
}
